Optimal. Leaf size=126 \[ \frac {2 x^3 \sqrt {1-a^2 x^2}}{3 a \text {ArcCos}(a x)^{3/2}}-\frac {4 x^2}{a^2 \sqrt {\text {ArcCos}(a x)}}+\frac {16 x^4}{3 \sqrt {\text {ArcCos}(a x)}}+\frac {4 \sqrt {2 \pi } S\left (2 \sqrt {\frac {2}{\pi }} \sqrt {\text {ArcCos}(a x)}\right )}{3 a^4}+\frac {4 \sqrt {\pi } S\left (\frac {2 \sqrt {\text {ArcCos}(a x)}}{\sqrt {\pi }}\right )}{3 a^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.23, antiderivative size = 126, normalized size of antiderivative = 1.00, number of steps
used = 15, number of rules used = 7, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.583, Rules used = {4730, 4808,
4732, 4491, 3386, 3432, 12} \begin {gather*} \frac {4 \sqrt {2 \pi } S\left (2 \sqrt {\frac {2}{\pi }} \sqrt {\text {ArcCos}(a x)}\right )}{3 a^4}+\frac {4 \sqrt {\pi } S\left (\frac {2 \sqrt {\text {ArcCos}(a x)}}{\sqrt {\pi }}\right )}{3 a^4}-\frac {4 x^2}{a^2 \sqrt {\text {ArcCos}(a x)}}+\frac {2 x^3 \sqrt {1-a^2 x^2}}{3 a \text {ArcCos}(a x)^{3/2}}+\frac {16 x^4}{3 \sqrt {\text {ArcCos}(a x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3386
Rule 3432
Rule 4491
Rule 4730
Rule 4732
Rule 4808
Rubi steps
\begin {align*} \int \frac {x^3}{\cos ^{-1}(a x)^{5/2}} \, dx &=\frac {2 x^3 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^{3/2}}-\frac {2 \int \frac {x^2}{\sqrt {1-a^2 x^2} \cos ^{-1}(a x)^{3/2}} \, dx}{a}+\frac {1}{3} (8 a) \int \frac {x^4}{\sqrt {1-a^2 x^2} \cos ^{-1}(a x)^{3/2}} \, dx\\ &=\frac {2 x^3 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^{3/2}}-\frac {4 x^2}{a^2 \sqrt {\cos ^{-1}(a x)}}+\frac {16 x^4}{3 \sqrt {\cos ^{-1}(a x)}}-\frac {64}{3} \int \frac {x^3}{\sqrt {\cos ^{-1}(a x)}} \, dx+\frac {8 \int \frac {x}{\sqrt {\cos ^{-1}(a x)}} \, dx}{a^2}\\ &=\frac {2 x^3 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^{3/2}}-\frac {4 x^2}{a^2 \sqrt {\cos ^{-1}(a x)}}+\frac {16 x^4}{3 \sqrt {\cos ^{-1}(a x)}}-\frac {8 \text {Subst}\left (\int \frac {\cos (x) \sin (x)}{\sqrt {x}} \, dx,x,\cos ^{-1}(a x)\right )}{a^4}+\frac {64 \text {Subst}\left (\int \frac {\cos ^3(x) \sin (x)}{\sqrt {x}} \, dx,x,\cos ^{-1}(a x)\right )}{3 a^4}\\ &=\frac {2 x^3 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^{3/2}}-\frac {4 x^2}{a^2 \sqrt {\cos ^{-1}(a x)}}+\frac {16 x^4}{3 \sqrt {\cos ^{-1}(a x)}}-\frac {8 \text {Subst}\left (\int \frac {\sin (2 x)}{2 \sqrt {x}} \, dx,x,\cos ^{-1}(a x)\right )}{a^4}+\frac {64 \text {Subst}\left (\int \left (\frac {\sin (2 x)}{4 \sqrt {x}}+\frac {\sin (4 x)}{8 \sqrt {x}}\right ) \, dx,x,\cos ^{-1}(a x)\right )}{3 a^4}\\ &=\frac {2 x^3 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^{3/2}}-\frac {4 x^2}{a^2 \sqrt {\cos ^{-1}(a x)}}+\frac {16 x^4}{3 \sqrt {\cos ^{-1}(a x)}}+\frac {8 \text {Subst}\left (\int \frac {\sin (4 x)}{\sqrt {x}} \, dx,x,\cos ^{-1}(a x)\right )}{3 a^4}-\frac {4 \text {Subst}\left (\int \frac {\sin (2 x)}{\sqrt {x}} \, dx,x,\cos ^{-1}(a x)\right )}{a^4}+\frac {16 \text {Subst}\left (\int \frac {\sin (2 x)}{\sqrt {x}} \, dx,x,\cos ^{-1}(a x)\right )}{3 a^4}\\ &=\frac {2 x^3 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^{3/2}}-\frac {4 x^2}{a^2 \sqrt {\cos ^{-1}(a x)}}+\frac {16 x^4}{3 \sqrt {\cos ^{-1}(a x)}}+\frac {16 \text {Subst}\left (\int \sin \left (4 x^2\right ) \, dx,x,\sqrt {\cos ^{-1}(a x)}\right )}{3 a^4}-\frac {8 \text {Subst}\left (\int \sin \left (2 x^2\right ) \, dx,x,\sqrt {\cos ^{-1}(a x)}\right )}{a^4}+\frac {32 \text {Subst}\left (\int \sin \left (2 x^2\right ) \, dx,x,\sqrt {\cos ^{-1}(a x)}\right )}{3 a^4}\\ &=\frac {2 x^3 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^{3/2}}-\frac {4 x^2}{a^2 \sqrt {\cos ^{-1}(a x)}}+\frac {16 x^4}{3 \sqrt {\cos ^{-1}(a x)}}+\frac {4 \sqrt {2 \pi } S\left (2 \sqrt {\frac {2}{\pi }} \sqrt {\cos ^{-1}(a x)}\right )}{3 a^4}+\frac {4 \sqrt {\pi } S\left (\frac {2 \sqrt {\cos ^{-1}(a x)}}{\sqrt {\pi }}\right )}{3 a^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.60, size = 203, normalized size = 1.61 \begin {gather*} -\frac {-4 \text {ArcCos}(a x) \left (e^{-4 i \text {ArcCos}(a x)}+e^{4 i \text {ArcCos}(a x)}-2 \sqrt {-i \text {ArcCos}(a x)} \text {Gamma}\left (\frac {1}{2},-4 i \text {ArcCos}(a x)\right )-2 \sqrt {i \text {ArcCos}(a x)} \text {Gamma}\left (\frac {1}{2},4 i \text {ArcCos}(a x)\right )\right )-2 \left (2 \text {ArcCos}(a x) \left (e^{-2 i \text {ArcCos}(a x)}+e^{2 i \text {ArcCos}(a x)}-\sqrt {2} \sqrt {-i \text {ArcCos}(a x)} \text {Gamma}\left (\frac {1}{2},-2 i \text {ArcCos}(a x)\right )-\sqrt {2} \sqrt {i \text {ArcCos}(a x)} \text {Gamma}\left (\frac {1}{2},2 i \text {ArcCos}(a x)\right )\right )+\sin (2 \text {ArcCos}(a x))\right )-\sin (4 \text {ArcCos}(a x))}{12 a^4 \text {ArcCos}(a x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 107, normalized size = 0.85
method | result | size |
default | \(\frac {16 \sqrt {2}\, \sqrt {\pi }\, \mathrm {S}\left (\frac {2 \sqrt {2}\, \sqrt {\arccos \left (a x \right )}}{\sqrt {\pi }}\right ) \arccos \left (a x \right )^{\frac {3}{2}}+16 \sqrt {\pi }\, \mathrm {S}\left (\frac {2 \sqrt {\arccos \left (a x \right )}}{\sqrt {\pi }}\right ) \arccos \left (a x \right )^{\frac {3}{2}}+8 \arccos \left (a x \right ) \cos \left (2 \arccos \left (a x \right )\right )+8 \arccos \left (a x \right ) \cos \left (4 \arccos \left (a x \right )\right )+2 \sin \left (2 \arccos \left (a x \right )\right )+\sin \left (4 \arccos \left (a x \right )\right )}{12 a^{4} \arccos \left (a x \right )^{\frac {3}{2}}}\) | \(107\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{3}}{\operatorname {acos}^{\frac {5}{2}}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^3}{{\mathrm {acos}\left (a\,x\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________